package com.hgkj.cloud.base.dao;

import com.hgkj.cloud.base.domain.ExtFieldRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ExtFieldRecordMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ExtFieldRecord record);

    int insertSelective(ExtFieldRecord record);

    ExtFieldRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ExtFieldRecord record);

    int updateByPrimaryKey(ExtFieldRecord record);

    ExtFieldRecord selectDataByMap(Map<String,Object> map);

    List<ExtFieldRecord> listExtFieldDataByChannelId(String channelId);

    Map<String,Object> getOneDataByChannelId(String channelId);


}